package com.example.blog.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.blog.entity.MainMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MainMenuMapper extends BaseMapper<MainMenu> {


    //    实现：分页 条件 多表联合查询
    public Page<MainMenu> getMainMenuListByQueryPage(Page page, @Param("ew") QueryWrapper queryWrapper);
}
